package com.love.cloud.common.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.MappedSuperclass;
import javax.persistence.Transient;
import java.util.ArrayList;
import java.util.List;

/**
 * @author hongdongqu
 */
@Data
@MappedSuperclass
@EqualsAndHashCode(callSuper=false)
public class BaseFileEntity extends BaseEntity{
    @Transient
    @TableField(exist = false)
    private List<FileBean> fileBeanList = new ArrayList<>();
}
